package com.linked.basemanage.base.bean.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;

/**
 * @author :dbq
 * @date : 2022/11/23 8:25
 */
@TableName("basemanage_base_info")
public class BaseInfoPO {
    /**
     * 基础配置表主键
     */
    @TableId(value = "base_id", type = IdType.ASSIGN_UUID)
    private String baseId;
    /**
     * 配置的键
     */
    @TableField("base_key")
    private String baseKey;
    /**
     * 配置的值
     */
    @TableField("base_value")
    private String baseValue;
    /**
     * 备注
     */
    @TableField("base_notes")
    private String baseNotes;
    /**
     * 创建时间
     */
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    /**
     * 数据状态
     */
    @TableField("data_status")
    private Integer dataStatus;

    public String getBaseId() {
        return baseId;
    }

    public void setBaseId(String baseId) {
        this.baseId = baseId;
    }

    public String getBaseKey() {
        return baseKey;
    }

    public void setBaseKey(String baseKey) {
        this.baseKey = baseKey;
    }

    public String getBaseValue() {
        return baseValue;
    }

    public void setBaseValue(String baseValue) {
        this.baseValue = baseValue;
    }

    public String getBaseNotes() {
        return baseNotes;
    }

    public void setBaseNotes(String baseNotes) {
        this.baseNotes = baseNotes;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getDataStatus() {
        return dataStatus;
    }

    public void setDataStatus(Integer dataStatus) {
        this.dataStatus = dataStatus;
    }
}
